﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FingerPrintRecognizer.Common
{
    public interface IDataProvider:IPlugin
    {
        Person getPersonByID(int id);
        User getUserByLoginID(string loginID);
        Person getPersonByNationalID(string id);
        //Person[] searchPerson
        bool beginFPSearch();
        byte[][] getNextRow();
        bool endFPSearch();

        //void createSession()
        void savePerson(Person person);
    }
}
